<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
</head>
<body>
<form action="deletes" th:object="${UserBean}" method="post">
<input name="userId" type="hidden" th:value="${userBean.userId}"/>

<button name="yesdel" type="submit">确认删除</button>
<button name="nodel" type="submit">取消删除</button>
 </form>
</body>
</html>